from flask_restful import reqparse

ORDER_SEARCH_VALID = reqparse.RequestParser()
ORDER_SEARCH_VALID.add_argument('order_by',type=str,help='请输入排序字段',required=False,default='id')




LOGIN_VALID = reqparse.RequestParser()
LOGIN_VALID.add_argument('username',type=str,help='请输入用户名',required=True)
LOGIN_VALID.add_argument('password',type=str,help='请输入密码',required=True)